import Vue from 'vue';
import iView from 'iview';
import axios from 'axios';

import App from './App.vue';
import router from './router';

import 'iview/dist/styles/iview.css';
import './assets/less/common.less';

axios.defaults.withCredentials = true;
Vue.config.productionTip = false;

Vue.use(iView);

new Vue({
    el: '#app',
    router,
    template: '<App/>',
    components: { App },
});

Vue.prototype.Ajax = axios;
